import loadable from "react-loadable";
import Loading from "../components/loading";

function PageLoading(props){
    return <Loading size='large' masker={false} loading={true}/>
}

const Home = loadable({
    "loader": () => import("./home"),
    "loading": PageLoading
});

const Port = loadable({
    "loader": () => import("./port"),
    "loading": PageLoading
});

const FullScreen = loadable({
    "loader": () => import("./fullScreen"),
    "loading": PageLoading
});

export {
    Home,
    Port,
    FullScreen
}